/********************************************************************
	file base:	WindowsDllLoader
	file ext:	h
	author:		JiangHuai
	
	purpose:	windows dll loader
*********************************************************************/

#ifndef WINDOWS_DLL_LOADER
#define WINDOWS_DLL_LOADER

#include "DllLoader.h"
#include <windows.h>
#include <map>
#include <string>
#include <utility>

using namespace std;

class WindowsDllLoader: public DllLoader
{
public:
	int LoadLibraryC(const string& name);
//	pair<funPointer, map<string, string> > FindProcC(const string& dllName, const string& name);
//	void FreeLibraryC(const string& dllName);
//	void FreeAllLibraries();
protected:
	
private:

	map<string, HINSTANCE&> dllHandle;
};

#endif
/**/